package com.cdks.wuxiu.api.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CallInfoListVO {
    @JsonProperty("callId")
    @ApiModelProperty(value = "通话ID")
    private Long id;

    @ApiModelProperty(value = "被叫号码")
    private Long answer;

    @ApiModelProperty(value = "通话时间/秒")
    private Integer duration;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "通话时间")
    private LocalDateTime callOutTime;
}
